import Vue from 'vue'
import Router from 'vue-router'
const _import = require('@/utils/_import_' + process.env.NODE_ENV);
const Layout = _import('common/layout')
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      component: Layout,
      children: [
        {path: '', template:  "<div></div>"}
      ]
    },{
      path: '/beauty',
      component: Layout,
      children: [
        {path: '', component: _import('beauty')}
      ]
    },{
      path: '/participation',
      component: Layout,
      children: [
        {path: '', component: _import('participation')}
      ]
    },{
      path: '/login',
      component: _import('login')
    }
  ]
})
